package com.attendance.www.hr.service.impl;

import java.util.Date;

import org.springframework.stereotype.Service;

import com.attendance.www.hr.service.ICheckService;

@Service
public class CheckServiceImpl implements ICheckService {

	/**
	 * 验证信息现在是否还有效
	 */
	@Override
	public boolean getCheckThruDate(Date thruDate) {
		if (thruDate.compareTo(new Date())<0) {
			return false;
		}
		return true;
	}

}
